/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for MonhocBL
/// </summary>
namespace DOAN.BL 
{
    public class MonhocBL 
    {
    	#region Private Variables
		MonhocDAL objMonhocDAL;
		#endregion
		
        #region Public Constructors
        public MonhocBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objMonhocDAL=new MonhocDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(MonhocDO objMonhocDO)
        {
            return objMonhocDAL.Insert(objMonhocDO);
        }

        public object GetSoChuong(string mon)
        {
            return objMonhocDAL.GetSoChuong(mon);
        }

        public int Update(MonhocDO objMonhocDO)
        {
             return objMonhocDAL.Update(objMonhocDO);

        }

        public int Delete(MonhocDO objMonhocDO)
        {
             return objMonhocDAL.Delete(objMonhocDO);

        }

         public int DeleteAll()
        {
             return objMonhocDAL.DeleteAll();
        }

        public MonhocDO Select(MonhocDO objMonhocDO)
        {
            return objMonhocDAL.Select(objMonhocDO);
        }

        public ArrayList SelectAll1( )
        {
         return objMonhocDAL.SelectAll1();
        }

        public DataTable TimKiem(int tt,string tk)
        {
            return objMonhocDAL.TimKiem(tt,tk);
        }

        public DataTable SelectAllDistiny()
        {
            return objMonhocDAL.SelectAllDistiny();
        }

        public DataTable SelectAll( )
        {
         return objMonhocDAL.SelectAll();
        }


     
#endregion          
    
    }

}
